home *** CD-ROM | disk | FTP | other *** search
/ Young & Modern Digital Makeover Magic / Young & Modern Digital Makeover Magic.iso / data1.cab / TempMKV / CameraControls.js < prev    next >
Encoding:
Text File  |  1999-10-18  |  5.1 KB  |  108 lines

  1. function GetListofCameras ()
  2. {
  3. var strHTML = "" ;
  4.     
  5.     strHTML += "<OBJECT ID='CameraSourcesListBox' WIDTH=140 HEIGHT=24 CLASSID='CLSID:7502E6C1-15E8-11d3-99F8-0080C875CDB6'>" ;
  6.     strHTML += "<PARAM NAME='ObjectName' VALUE='CameraSourcesListBox'>" ;
  7.     strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Photos|EditorGetCamera.wkf'>" ;
  8.     strHTML += "<PARAM NAME='WorkflowStep' VALUE=11>" ;
  9.     strHTML += "<PARAM NAME='UpdateWorkflowID' VALUE='file:/Resources/WorkflowsComponent|Photos|EditorGetCamera.wkf'>" ;
  10.     strHTML += "<PARAM NAME='UpdateStep' VALUE=12>" ;
  11.     strHTML += "<PARAM NAME='IsComboBox' VALUE=1>" ;
  12.     strHTML += "<PARAM NAME='SelectionMode' VALUE=3>" ;
  13.     strHTML += "</OBJECT>" ;
  14.  
  15.    return strHTML ;
  16. }
  17.  
  18. function GetCameraDirectControls ()
  19. {
  20. var strHTML = "" ;
  21.  
  22.     strHTML += "<TABLE style='MARGIN-LEFT: 10px'><TR><TD>" ;
  23.     
  24.     strHTML += "<h3>Digital Camera</h3>" ;
  25.    
  26.     strHTML += "Select a camera<br>" ;
  27.     strHTML += "<SPAN ID=idCameraList></SPAN>" ;
  28.  
  29.     strHTML += "<br>" ;
  30.  
  31.     strHTML += "<OBJECT ID='ConfigureButton' WIDTH=120 HEIGHT=36 align=middle" ;
  32.     strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
  33.     strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
  34.     strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
  35.     strHTML += "<PARAM NAME='DisplayIndex' VALUE=80>" ;
  36.     strHTML += "<PARAM NAME='DriverID' value='CommandDispatcher,Active,6011'>" ;
  37.     strHTML += "<PARAM NAME='UseDispatcher' VALUE=1>" ;
  38.     strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
  39.     strHTML += "<PARAM NAME='Label' VALUE='Configure...'>" ;
  40.     strHTML += "<PARAM NAME='ToolTipString' VALUE='Change your camera configuration'>" ;
  41.     strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/Resources/Decor/Panel_pho.png'>>" ;
  42.     strHTML += "</OBJECT>" ;
  43.  
  44.     strHTML += "<br><br>" ;
  45.     
  46.     strHTML += "<OBJECT ID='RefreshButton' WIDTH=120 HEIGHT=36 ALIGN=LEFT" ;
  47.     strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
  48.     strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
  49.     strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
  50.     strHTML += "<PARAM NAME='DisplayIndex' VALUE=80>" ;
  51.     strHTML += "<PARAM NAME='DriverID' value='CommandDispatcher,Active,6013'>" ;
  52.     strHTML += "<PARAM NAME='UseDispatcher' VALUE=1>" ;
  53.     strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
  54.     strHTML += "<PARAM NAME='Label' VALUE='Refresh'>" ;
  55.     strHTML += "<PARAM NAME='ToolTipString' VALUE='Refresh the list of photos'>" ;
  56.     strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/Resources/Decor/Panel_pho.png'>>" ;
  57.     strHTML += "</OBJECT>" ;
  58.  
  59.     strHTML += "<br>" ;
  60.   
  61.     strHTML += "Click on the photo you want to download<br>" ;
  62.    
  63.     strHTML += "<br>" ;
  64.  
  65.     strHTML += "Attach a Filename Prefix(optional)<br>" ;
  66.     
  67.     strHTML += "<OBJECT ID='MGIStringEdit' WIDTH=140 HEIGHT=24" ;
  68.     strHTML += "< CLASSID='CLSID:06B282E0-FE1B-11D2-ACB6-0080C877D9B9'>" ;
  69.     strHTML += "<PARAM NAME='WorkflowID' VALUE='file:/Resources/WorkflowsComponent|Photos|EditorGetCamera.wkf'>" ;
  70.     strHTML += "<PARAM NAME='WorkflowStep' VALUE=40>" ;
  71.     strHTML += "<PARAM NAME='TextLimit' VALUE=15>" ;
  72.     strHTML += "<PARAM NAME='IllegalCharacters' VALUE='\/:?*<>|"'>>" ;
  73.     strHTML += "</OBJECT>" ;
  74.  
  75.     strHTML += "<br>" ;
  76.     
  77.     strHTML += "<OBJECT ID='DeleteAfterCheck' WIDTH=13 HEIGHT=13" ;
  78.     strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
  79.     strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
  80.     strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
  81.     strHTML += "<PARAM NAME='DisplayIndex' VALUE=33>" ;
  82.     strHTML += "<PARAM NAME='StateDriverID' VALUE='file:/Resources/WorkflowsComponent|Photos|EditorGetCamera.wkf'>" ;
  83.     strHTML += "<PARAM NAME='StateDriverStep' VALUE=42>" ;
  84.     strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
  85.     strHTML += "<PARAM NAME='ButtonStyle' VALUE='TOGGLE'>>" ;
  86.     strHTML += "</OBJECT>" ;
  87.     strHTML += "<SPAN OnClick='DeleteAfterCheck.DoClick()' STYLE='cursor:default'> Delete after download</SPAN>" ;
  88.  
  89.     strHTML += "<br><br>" ;
  90.     
  91.     strHTML += "<OBJECT ID='DownLoadButton' WIDTH=120 HEIGHT=36 ALIGN=LEFT" ;
  92.     strHTML += "< CLASSID='CLSID:4FA211A0-FD53-11d2-ACB6-0080C877D9B9'>" ;
  93.     strHTML += "<PARAM NAME='DisplayID' VALUE='file:/Resources/WorkflowsComponent|Common|stdgui.wkf'>" ;
  94.     strHTML += "<PARAM NAME='DisplayStep' VALUE=50>" ;
  95.     strHTML += "<PARAM NAME='DisplayIndex' VALUE=80>" ;
  96.     strHTML += "<PARAM NAME='DriverID' value='CommandDispatcher,Active,20212'>" ;
  97.     strHTML += "<PARAM NAME='UseDispatcher' VALUE=1>" ;
  98.     strHTML += "<PARAM NAME='NumStates' VALUE=4>" ;
  99.     strHTML += "<PARAM NAME='Label' VALUE='Download'>" ;
  100.     strHTML += "<PARAM NAME='ToolTipString' VALUE='Download photo from camera'>" ;
  101.     strHTML += "<PARAM NAME='BackgroundMoniker' VALUE='file:/Resources/Decor/Panel_pho.png'>>" ;
  102.     strHTML += "</OBJECT>" ;
  103.  
  104.     strHTML += "</TD></TR></TABLE>" ;
  105.  
  106.    return strHTML ;
  107. }
  108.